//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Diagnostics.Contracts;
using System.Globalization;

namespace OpenLS.Spreadsheet.Parsing
{
    sealed class Identifier : IdentifierBase
    {
        public Identifier(string s): base(s)
        {
            Contract.Requires(!s.Contains("%"));
 
#if DEBUG
            Contract.Assert( !IsInt (s));
#endif
        }

#if DEBUG
        private static bool IsInt(string s)
        {
            int dummy;
            return int.TryParse(s, out dummy);
        }
#endif
    }
}